import pytest

@pytest.fixture()
def delete_address_late(user_action):
    yield
    '''获取列表地址address_id'''
    address_list = user_action.address_list()
    # print(address_list)
    id = address_list['body'][-1]['id']

    delete_address_add = user_action.delete_address(address_id=str(id))
    print('需要删除的地址',delete_address_add)


